package com.ruiysoft.entity.sys;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author huazengguang
 * @since 2018-11-17
 */
@TableName("sys_region")
@Data
public class SysRegion extends Model<SysRegion> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("pid")
    private Long pid;

    @TableField("name")
    private String name;

    @TableField("type")
    private Integer type;

    @TableField("sort")
    private Integer sort;

    @TableField("adcode")
    private String adcode;

    @TableField("zipcode")
    private String zipcode;

    @TableField("citycode")
    private String citycode;

    @TableField("lnglat")
    private String lnglat;

}
